package com.castle.fortress.admin.study.exam.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.study.exam.entity.StudyExamStatisticsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
/**
 * 试卷统计Mapper 接口
 *
 * @author castle
 * @since 2023-02-16
 */
@Mapper
public interface StudyExamStatisticsMapper extends BaseMapper<StudyExamStatisticsEntity> {

	List<StudyExamStatisticsEntity> queryList(@Param("map")Map<String, Long> pageMap, @Param("studyExamStatisticsEntity") StudyExamStatisticsEntity studyExamStatisticsEntity);


    List<StudyExamStatisticsEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("studyExamStatisticsEntity") StudyExamStatisticsEntity studyExamStatisticsEntity);

    Long extendsCount(@Param("studyExamStatisticsEntity")StudyExamStatisticsEntity studyExamStatisticsEntity);

    boolean updateByIsDelete(@Param("studyExamStatisticsEntity")StudyExamStatisticsEntity statisticsEntity);
}
